package com.haiyan.demo.problem03;

public class Test {
    public static void main(String[] args) {
        Cat cat=new Cat("小猫","男",22,"白色");
        Dog dog=new Dog("小狗","男",23,"红色");
        cat.eat();
        cat.sleep();
        cat.call();
        System.out.println("==================");
        dog.eat();
        dog.sleep();
        dog.call();
    }
}
